# $Id: PKGBUILD 180602 2013-03-24 12:53:07Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor 03/08/04 <lefungus@altern.org>

pkgname=libmatroska
pkgver=1.4.0
pkgrel=1
pkgdesc="Matroska library"
arch=('i686' 'x86_64')
url="http://dl.matroska.org/downloads/libmatroska/"
license=('LGPL')
depends=('libebml')
source=("http://dl.matroska.org/downloads/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('5b83155019589b04a49f9db923b5bf74')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}/make/linux"

  make sharedlib
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}/make/linux"

  make prefix="${pkgdir}/usr" install
}
